﻿using System;

namespace Nydus.WebForms.Frontend.Helpers
{
    internal class Parser
    {
        public static int ParseIdString(string input)
        {
            int result;
            if (Int32.TryParse(input, out result))
            {
                return result;
            }
            return -1;
        }
    }
}